<?php echo $this->validation->error_string; ?>
<?php echo form_open($this->curl . '/create', 'id="create_form"')?>
<br />
<table class="nostyle forma" width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
	<th style="width: 180px;"><?php $this->load->view('_elements/obligatory.php'); ?><?php echo $this->category_model->fields['name']?></th>
	<td><div class="input_300"><?php echo form_input('name', $this->validation->name, 'class="input-text"')?></div></td>
</tr>
<tr>
	<th><?php echo $this->category_model->fields['description']?></th>
	<td><?php echo form_textarea('description', $this->validation->description, 'class="input-text" id="description"')?></td>
</tr>
<tr>
	<td colspan="2">&nbsp;</td>
</tr>
<tr>
	<td></td>
	<td>			
		<input name="edit" type="submit" class="btn btn_save" id="submit" value="<?php echo T_('Submit')?>" />
		<input name="reset"  type="reset"  class="btn btn_clear" id="reset" value="<?php echo T_('Reset')?>" onclick="$('#create_form input[type=text]').val('');" />
	</td>
</tr>
</table>

<?php echo form_close()?>